package com.qf.Listener.boot;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class BootListener {
    @RabbitListener(queues = "boot-queue")
    public void consum(String message){
        System.out.println(message);
    }

}
